package com.web.portal.utils.file;

/**
 * 图片上传参数判断传入
 * 2020-06-04 新家fileName，fileType字段
 */
public class UploadImageResult {
    private String msg;//失败时候返回对应信息，成功时不返回
    private boolean isSuccess;//true 成功(返回下面对应图片路劲)  false  失败
    private String fileName; // 原始文件名
    private String fileType; // 文件类型
    private String compressImageUrl;//压缩图路劲
    private String originalImageUrl;//原图路劲
    private String thumbImageUrl;//缩略图路劲
    private String ossImageUrl;//阿里云服务器url

    public String getOssImageUrl() {
        return ossImageUrl;
    }

    public void setOssImageUrl(String ossImageUrl) {
        this.ossImageUrl = ossImageUrl;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public String getCompressImageUrl() {
        return compressImageUrl;
    }

    public void setCompressImageUrl(String compressImageUrl) {
        this.compressImageUrl = compressImageUrl;
    }

    public String getOriginalImageUrl() {
        return originalImageUrl;
    }

    public void setOriginalImageUrl(String originalImageUrl) {
        this.originalImageUrl = originalImageUrl;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getThumbImageUrl() {
        return thumbImageUrl;
    }

    public void setThumbImageUrl(String thumbImageUrl) {
        this.thumbImageUrl = thumbImageUrl;
    }
}
